<div id="antraste">
    <div class="antraste_pradzia"></div>
    <h2 class="antraste_content">
        <?php echo $page->getName();?>
    </h2>
    <?php if(has_any_role_id(array(MyConstants::ROLE_ADMIN, MyConstants::ROLE_MODERATOR))): ?>
            <?php echo link_to(image_tag('pencil.png'
                                        , 'style="border:0px;"')
                            , 'textmodule/edit?id=' . $page->getId()); ?>
        <?php endif;?>
    <div class="antraste_pabaiga"></div>
</div> 
<div class="textbox_content">
    <?php echo $page->getText(); ?>
    <?php if( !empty($arFiles) ): ?>
        <?php foreach( $arFiles as $file ): ?>
            <?php echo link_to(image_tag('gallery/tiny/' . $file->getUname()
                                        , array(
                                            'border' => '0'
                                            , 'alt' => $file->getName()
                                            , 'title' => $file->getName()
                                            , 'class' => 'photo'))
                            , 'http://' . get_domain_name() . '/images/gallery/medium/' . $file->getUname()
                            , array('class' => 'lightbox'))?>
        <?php endforeach; ?>
    <?php endif; ?>
    <?php if( $blog ): ?>
    <?php $seo= Seo::getSlugByObj($blog->getId(), 'blog', 'show', $blog->getCulture()); ?>
    <div class="ia_blog">
        Skaitykite mūsų blog'ą:
        <?php echo link_to($blog->getName()
                        , 'http://www.interateitis.lt/' . sfContext::getInstance()->getUser()->getCulture() . '/blogas/' . $nick . '/' . $seo)?>
    </div>
    <?php endif; ?>
</div>
<script type="text/javascript">
jQuery(function() {
    
    jQuery('a.lightbox').lightBox();
    
});
</script>